﻿package com.moonshineproject.plugin.console.view {
	import flash.events.Event;
	public class ConsoleModeEvent extends Event {
		public static const CHANGE:String = "consoleModeChange";
		
		public var mode:String;
		public function ConsoleModeEvent(type:String, mode:String, bubbles:Boolean=false, cancelable:Boolean=false) { 
			super(type, bubbles, cancelable);
			this.mode = mode;
		} 
		
		public override function clone():Event { 
			return new ConsoleModeEvent(type, mode, bubbles, cancelable);
		} 
		
		public override function toString():String { 
			return formatToString("ConsoleModeEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
	}
}